package cn.xzq.crm.entity;

import java.util.HashSet;
import java.util.Set;

public class Level {
	private String lid; //权限id
	private String lname; //权限名
	//用户列表
	private Set<User> setUser = new HashSet<User>();
	
	public Level(String lid, String lname) {
		super();
		this.lid = lid;
		this.lname = lname;
	}
	
	
	public Level() {
		super();
	}
	public String getLid() {
		return lid;
	}
	public void setLid(String lid) {
		this.lid = lid;
	}
	public String getLname() {
		return lname;
	}
	public void setLname(String lname) {
		this.lname = lname;
	}
	public Set<User> getSetUser() {
		return setUser;
	}
	public void setSetUser(Set<User> setUser) {
		this.setUser = setUser;
	}
	
	@Override
	public String toString() {
		return "Level [lid=" + lid + ", lname=" + lname + "]";
	}
	
	
}
